<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8"/>
    <title>计量器具信息</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <link rel="icon" type="image/x-icon" href="/favicon.ico" th:href="@{/favicon.ico}">
    <meta http-equiv="X-UA-Compatible" content="ie=edge"/>


</head>
<body>
<!--头部-->
<header th:replace="common/head">
</header>
<!-- 页面指向 -->
<div class="page-point bg-white">
    <ul>
        <li>首页</li>
        <li>计量器具</li>
        <li>计量器具信息</li>
    </ul>
</div>
<!-- 菜单树 -->
<div th:replace="common/left">
</div>
<!--主体内容-->
<div class="page-container">

    <div class="container-fluid mb-20 clearfix">
        <div class="col-md-12">
            <h2 class="page-section-title">查询条件</h2>
        </div>
    </div>

    <div class="container-fluid query-frame-wrap mb-10 clearfix condition-query">
        <div class="col-lg-9 col-lg-item-6">
            <div class="row">
                <div class="col-lg-4">
                    <div class="query-frame">
                        <label>计量器具编码</label>
                        <input autocomplete="new-password" type="text" id="measureToolCode" name="measureToolCode" class="form-control  measure-tool-query"/>
                    </div>
                </div>
                <div class="col-lg-4">
                    <div class="query-frame">
                        <label>计量器具名称</label>
                        <input autocomplete="new-password" type="text" id="measureToolName" name="measureToolName" class="form-control  measure-tool-query"/>
                    </div>
                </div>
                <div class="col-lg-4">
                    <div class="query-frame">
                        <label>规格型号</label>
                        <input autocomplete="new-password" type="text" id="measureToolModel" name="measureToolModel" class="form-control  measure-tool-query"/>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-lg-4">
                    <div class="query-frame">
                        <label>供应商名称</label>
                        <input autocomplete="new-password" id="supplier" type="text" class="form-control measure-tool-query"/>
                    </div>
                </div>
                <div class="col-lg-4">
                    <div class="query-frame">
                        <label>责任人</label>
                        <select id="dutyUser" class="form-control sys-user-select2 measure-tool-query">
                        </select>
                    </div>
                </div>
            </div>
        </div>

        <div class="col-lg-3">
            <div class="query-frame query-button">
                <img id="queryMeasureTool" th:src="@{/image/search.png}" src="../../static/image/search.png"/>
                <img class="reset" th:src="@{/image/rest.png}" src="../../static/image/rest.png"/>
            </div>
        </div>
    </div>

    <div class="container-fluid mb-20 clearfix">
        <div class="col-md-12 rlt">
            <h2 class="page-section-title">计量器具列表</h2>
            <ul class="table-tool">
                <li id="add">
                    <span class="icon-list_add" aria-hidden="true"></span>
                    <label>新增</label>
                </li>
                <li id="update">
                    <span class="icon-list_xiugai" aria-hidden="true"></span>
                    <label>修改</label>
                </li>
                <li id="delete">
                    <span class="icon-list_shanchu" aria-hidden="true"></span>
                    <label>删除</label>
                </li>
                <li id="refreshTable">
                    <span class="icon-list_shuaxin" aria-hidden="true"></span>
                    <label>刷新</label>
                </li>
            </ul>
        </div>
    </div>

    <div class="container-fluid table-container">
        <table id="measureToolInfoTable" cellspacing="" cellpadding="">

        </table>
    </div>
</div>

<form id="measureToolInfoForm" method="post" class="form-horizontal measure-tool-info-form" action="">
    <div class="modal fade modelForm" id="myModal" tabindex="-1" role="dialog" data-backdrop="static"
         data-keyboard="false">
        <div class="modal-dialog modal-dialog-big-2" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                            aria-hidden="true">&times;</span>
                    </button>
                    <h4 class="modal-title title"></h4>
                </div>
                <div class="modal-body">
                    <div class="row">
                        <div class="col-lg-12">
                            <div class="col-lg-6">
                                <div class="form-group">
                                    <label class="col-lg-4 control-label form-required form-required-6">计量器具编码</label>
                                    <div class="col-lg-8">
                                        <input autocomplete="new-password" type="text" name="measureToolCode" class="form-control" maxlength="20"/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label form-required form-required-4">规格型号</label>
                                    <div class="col-lg-8">
                                        <input autocomplete="new-password" type="text" name="measureToolModel" class="form-control" maxlength="20"/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label">分度值</label>
                                    <div class="col-lg-8">
                                        <input autocomplete="new-password" type="text" name="dividingValue" class="form-control" maxlength="20"/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label">允许误差</label>
                                    <div class="col-lg-8">
                                        <input autocomplete="new-password" type="text" name="tolerance" class="form-control" maxlength="20"/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label">使用部门</label>
                                    <div class="col-lg-8 ">
                                        <input autocomplete="new-password" type="text" name="department" class="form-control" maxlength="20"/>
                                    </div>
                                </div>
                                <div class="form-group" style="height: 35px;">
                                    <label class="col-lg-4 control-label form-required">校验</label>
                                    <div class="col-lg-8 modal-checkbox-box">
                                        <label>
                                            <input autocomplete="new-password" type="radio" name="checkFlag" value="1"/>
                                            <span>是</span>
                                        </label>
                                        <label>
                                            <input autocomplete="new-password" type="radio" name="checkFlag" value="0"/>
                                            <span>否</span>
                                        </label>
                                    </div>
                                </div>
                                <div class="form-group" id="checkCycleDiv">
                                    <label class="col-lg-4 control-label">校验周期(天)</label>
                                    <div class="col-lg-8">
                                        <input autocomplete="new-password" type="number" class="form-control" name="checkCycle"/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label">备注</label>
                                    <div class="col-lg-8">
                                        <input autocomplete="new-password" type="text" class="form-control" name="remark" maxlength="40"/>
                                    </div>
                                </div>

                            </div>

                            <div class="col-lg-6">
                                <div class="form-group">
                                    <label class="col-lg-4 control-label form-required form-required-6">计量器具名称</label>
                                    <div class="col-lg-8">
                                        <input autocomplete="new-password" type="text" class="form-control" name="measureToolName"/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label">供应商名称</label>
                                    <div class="col-lg-8">
                                        <input autocomplete="new-password" type="text" class="form-control" name="supplier"/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label">测量范围</label>
                                    <div class="col-lg-8">
                                        <input autocomplete="new-password" type="text" name="measureRange" class="form-control"/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label">投产日期</label>
                                    <div class="col-lg-8 date-frame">
                                        <input autocomplete="new-password" type="text" class="form-control form-datetime"  name="productionDate" readonly/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label">使用区域</label>
                                    <div class="col-lg-8">
                                        <select class="form-control"  name="areaCode" id="area">
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group" id="checkTypeDiv">
                                    <label class="col-lg-4 control-label">校验类别</label>
                                    <div class="col-lg-8">
                                        <select name="checkType" class="form-control check-type">
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group" id="checkDateDiv">
                                    <label class="col-lg-4 control-label">校验开始日期</label>
                                    <div class="col-lg-8 date-frame">
                                        <input autocomplete="new-password" type="text" class="form-control form-datetime"  name="checkDate" readonly/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label">责任人</label>
                                    <div class="col-lg-8">
                                        <select  name="dutyUser" class="form-control" id="dutyUserFormSelect2">
                                        </select>
                                    </div>
                                </div>

                            </div>

                        </div>


                    </div>
                    <!--主键-->
                    <input autocomplete="new-password" type="hidden" name="pkId" value="">

                </div>

                <div class="modal-footer">
                    <button type="button" class="btn btn-primary yes">保存</button>
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                </div>
            </div>
        </div>
    </div>
</form>

<form id="measureToolDetailForm" method="post" class="form-horizontal measure-tool-info-form" action="">
    <div class="modal fade modelForm" id="detailModal" tabindex="-1" role="dialog" data-backdrop="static"
         data-keyboard="false">
        <div class="modal-dialog modal-dialog-big-2" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                            aria-hidden="true">&times;</span>
                    </button>
                    <h4 class="modal-title title"></h4>
                </div>
                <div class="modal-body">
                    <div class="row">
                        <div class="col-lg-12">
                            <div class="col-lg-6">
                                <div class="form-group">
                                    <label class="col-lg-4 control-label">计量器具编码</label>
                                    <div class="col-lg-8">
                                        <input autocomplete="new-password" type="text" name="measureToolCode" class="form-control" readonly/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label">规格型号</label>
                                    <div class="col-lg-8">
                                        <input autocomplete="new-password" type="text" name="measureToolModel" class="form-control" readonly/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label">分度值</label>
                                    <div class="col-lg-8">
                                        <input autocomplete="new-password" type="text" name="dividingValue" class="form-control" readonly/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label">允许误差</label>
                                    <div class="col-lg-8">
                                        <input autocomplete="new-password" type="text" name="tolerance" class="form-control" readonly/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label">使用部门</label>
                                    <div class="col-lg-8 ">
                                        <input autocomplete="new-password" type="text" name="department" class="form-control" readonly/>
                                    </div>
                                </div>
                                <div class="form-group" style="height: 35px;">
                                    <label class="col-lg-4 control-label ">校验</label>
                                    <div class="col-lg-8">
                                        <input autocomplete="new-password" type="text" class="form-control" name="checkFlag" readonly/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label">校验周期(天)</label>
                                    <div class="col-lg-8">
                                        <input autocomplete="new-password" type="number" class="form-control" name="checkCycle" readonly/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label">备注</label>
                                    <div class="col-lg-8">
                                        <input autocomplete="new-password" type="text" class="form-control" name="remark" readonly/>
                                    </div>
                                </div>

                            </div>

                            <div class="col-lg-6">
                                <div class="form-group">
                                    <label class="col-lg-4 control-label ">计量器具名称</label>
                                    <div class="col-lg-8">
                                        <input autocomplete="new-password" type="text" class="form-control" name="measureToolName" readonly/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label">供应商名称</label>
                                    <div class="col-lg-8">
                                        <input autocomplete="new-password" type="text" class="form-control" name="supplier" readonly/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label">测量范围</label>
                                    <div class="col-lg-8">
                                        <input autocomplete="new-password" type="text" name="measureRange" class="form-control" readonly/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label">投产日期</label>
                                    <div class="col-lg-8">
                                        <input autocomplete="new-password" type="text" class="form-control"  name="productionDate" readonly/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label">使用区域</label>
                                    <div class="col-lg-8">
                                        <input autocomplete="new-password" type="text" class="form-control" name="areaName" readonly />
                                    </div>
                                </div>
                                <div class="form-group" >
                                    <label class="col-lg-4 control-label">校验类别</label>
                                    <div class="col-lg-8">
                                        <select name="checkType" class="form-control check-type" disabled>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group" >
                                    <label class="col-lg-4 control-label">校验开始日期</label>
                                    <div class="col-lg-8">
                                        <input autocomplete="new-password" type="text" class="form-control"  name="checkDate" readonly/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label">责任人</label>
                                    <div class="col-lg-8">
                                        <input autocomplete="new-password" type="text" class="form-control" name="dutyUserName" readonly />
                                    </div>
                                </div>

                            </div>

                        </div>


                    </div>
                    <!--主键-->

                </div>

                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                </div>
            </div>
        </div>
    </div>
</form>

<div th:replace="common/foot">
</div>


<script th:src="@{/js/measuretool/measureToolInfo.js}"></script>
</body>
</html>






